widget: fix CSS transforms with margins
authorBenjamin Otte <otte@redhat.com>
Fri, 31 May 2019 03:35:04 +0000 (05:35 +0200)
committerBenjamin Otte <otte@redhat.com>
Fri, 31 May 2019 03:36:50 +0000 (05:36 +0200)
commit6b2518a190314d0aa01f0885f0b77d57a7a7707d
treef8fb334f1511e9c5bea18c28f2386a6440432e5b
parent6b1cfd0bca3b8f6da5fb46f62c667c7817352d11
widget: fix CSS transforms with margins

The CSS transform should operate on the border-box, not the margin box.
So we need to shrink the bounds by the margin before we apply the CSS
transform.
gtk/gtkwidget.c